//
//  HSTypeManagedCell.m
//  hsdyOrderSystem
//
//  Created by 赖国锋 on 2017/11/27.
//  Copyright © 2017年 赖国锋. All rights reserved.
//

#import "HSTypeManagedCell.h"

@implementation HSTypeManagedCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}
- (IBAction)delBtnClick:(UIButton*)sender {
    if (self.delBtnClickblock) {
        self.delBtnClickblock(sender.tag - 2000);
    }
}

-(void)setModel:(HSFoodtypeModel *)model{
    _model = model;
    self.delBtn.tag = 2000 + model.type_id;
    self.nameL.text = model.name;
}


@end
